<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css" media=screen>
.PrintArea {

	position :relative ;
	width : 200cm;
	height: 20cm;
	background: url(yuantong.jpg) no-repeat ;
}
#d1, #d2, #d3 { position: absolute; font-size:12px; background: red; }
#d1 { left : 120px; top: 120px; height: 30px; width:120px; font-size: 10px ; } 
#d2 { left : 500px; top: 100px; height: 30px; width:80px; font-size: 10px ;}
#d3 { left : 500px; top: 160px; height: 30px; width:50px; font-size: 10px ;}
</style>
<style type="text/css" media=print>
.PrintArea {

	position :relative ;
	width : 200cm;
	height: 20cm;
	background: url(yuantong.jpg) no-repeat ;
}
#d1, #d2, #d3 { position: absolute; font-size:12px; background: red; }
#d1 { left : 120px; top: 120px; height: 30px; width:120px; font-size: 10px ; } 
#d2 { left : 500px; top: 100px; height: 30px; width:80px; font-size: 10px ;}
#d3 { left : 500px; top: 160px; height: 30px; width:50px; font-size: 10px ;}
</style>
</head>

<body>

<script src="jquery-1.5.2.min.js"></script>
<script src="jquery.PrintArea.js"></script>

<div id="print_button">Print</div>
<div class="PrintArea">  

<div id="d1">单位名称</div>
<div id="d2">收件人名称</div>
<div id="d3">收件人地址</div>
</div>
 

<script>

//options as json (json example: {mode: "popup", popClose: false})
 
   $("div#print_button").click(function(){
       $("div.PrintArea").printArea( );
   });
 </script>
</body>
</html>